package com.ansion.user.beanforui;

import java.util.Objects;

/**
 * created by zhaoyuntao
 * on 2022/1/24
 */
public class AdminMessageBean {
    private String groupId;
    private String title;
    private String message;
    private long time;

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AdminMessageBean that = (AdminMessageBean) o;
        return time == that.time && Objects.equals(groupId, that.groupId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(groupId, time);
    }
}
